#pragma once

#include <QWidget>
#include "ui_thememodesetwin.h"

class CCNotePad;

class ThemeModeSetWin : public QWidget
{
	Q_OBJECT

public:
	ThemeModeSetWin(QWidget *parent = Q_NULLPTR);
	~ThemeModeSetWin();

private slots:
	void slot_themeModeChanged(int index);
	void slot_syntaxThemeChanged(int index);
	void slot_applyTheme();

private:
	void loadCurrentSettings();
	void saveSettings();
	void notifyEditorsUpdate();
	void scheduleEditorUpdate();  // 废弃，保留向后兼容

private:
	Ui::ThemeModeSetWin ui;
};

